package com.ly.honor.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.honor.entity.GoodsAppraise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.honor.entity.vo.GoodsAppraiseQueryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 17798
* @description 针对表【bs_goods_appraise】的数据库操作Mapper
* @createDate 2023-04-05 00:28:22
* @Entity com.ly.honor.entity.GoodsAppraise
*/
@Mapper
public interface GoodsAppraiseMapper extends BaseMapper<GoodsAppraise> {

    Page<GoodsAppraiseQueryVO> getGoodsAppraisePage(Page<GoodsAppraiseQueryVO> page,@Param("goodsId") Integer goodsId);

    List<GoodsAppraiseQueryVO> getGoodsAppraiseByParentId(@Param("parentId") Integer parentId);
}




